package com.demo.userprofile.runner;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitScan;

/**
 * 画像相关服务启动类
 *
 * @author userprofile_demo
 */
@EnableEurekaClient
@EnableAspectJAutoProxy
@SpringBootApplication(scanBasePackages = {"com.demo.userprofile"})
@MapperScan(value = "com.demo.userprofile")
@RetrofitScan("com.demo.userprofile")
public class UserprofileServiceProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserprofileServiceProviderApplication.class, args);
    }
}
